package com.dykj.fireFighting.api.base.bigdata.rcxc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 巡更报告记录表
 * @Author JacksonTu
 * @Date  2021-07-05 15:22:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "大数据日常巡查")
@TableName("patrol_report_record")
public class PatrolReportRecord extends Model<PatrolReportRecord> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 巡更报告id
	 */
    @ApiModelProperty(value = "巡更报告id")
	@TableField("patrol_report_id")
	private String patrolReportId;
	/**
	 * 消防群组id
	 */
    @ApiModelProperty(value = "消防群组id")
	@TableField("fire_group_id")
	private String fireGroupId;
	/**
	 * 消防群组名称
	 */
    @ApiModelProperty(value = "消防群组名称")
	@TableField("fire_group_name")
	private String fireGroupName;
	/**
	 * 设备id
	 */
    @ApiModelProperty(value = "设备id")
	@TableField("device_id")
	private String deviceId;
	/**
	 * 设备名称
	 */
    @ApiModelProperty(value = "设备名称")
	@TableField("device_name")
	private String deviceName;
	/**
	 * 类型 0智能设备  1传统设备
	 */
	@ApiModelProperty(value = "类型 0智能设备  1传统设备")
	private Integer type;
	/**
	 * 状态说明
	 */
	@ApiModelProperty(value = "状态说明")
	private String status;

	/**
	 * 是否上报
	 */
	@ApiModelProperty(value = "是否上报 0否  1是")
	private Integer isReport;
	@TableField("create_time")
	private Date createTime;
	@TableField("create_by")
	private String createBy;

}
